<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body>
<table align="center" class="table table-hover">
    <tr align="center"><td>书名</td><td>作者</td><td>出版社</td></tr>
    {% for i in lst%}
    <tr align="center"><td>{{i.book_name}}</td><td>{{i.author}}</td><td>{{i.publish}}</td></tr>
    {% endfor %}
</table>
<div >
    <ul class="nav justify-content-end navbar-right">
        <li class="nav-item">
            <a href="/" class="nav-link">返回主页</a>
        </li>
    </ul>
</div>

</body>
</html>